home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / Chip_2003-12_cd1.bin / program / ctenari / ShiCola / CodePad37.exe / $INSTDIR / Syntax Definitions / css2.def < prev    next >
Encoding:
Text File  |  2003-10-17  |  8.3 KB  |  312 lines

  1. object TPersHolder
  2.   P.Name = 'CSS 2'
  3.   P.Extensions.Strings = (
  4.     'CSS files (*.css)|*.css')
  5.   P.SyntaxBlocks = <
  6.     item
  7.       Name = 'Default'
  8.       ID = 0
  9.       UseMetaSymbol = True
  10.       UseMetaToWrapLines = True
  11.       MetaSymbol = '\'
  12.       FIText = 16
  13.       FISymbol = 8
  14.       UseSymbols = True
  15.       UseComments = True
  16.       UseMultiLineComments = True
  17.       UseStrings = True
  18.       UseSingleLineStrings = True
  19.       BlockDelimiters = <>
  20.       MultiLineCommentDelimiters = <
  21.         item
  22.           FontID = 17
  23.           LeftDelimiter = '/*'
  24.           RightDelimiter = '*/'
  25.         end
  26.         item
  27.           FontID = 11
  28.           LeftDelimiter = '<!--'
  29.           RightDelimiter = '-->'
  30.         end>
  31.       SingleLineStringDelimiters = <
  32.         item
  33.           FontID = 10
  34.           LeftDelimiter = '"'
  35.           RightDelimiter = '"'
  36.         end>
  37.     end
  38.     item
  39.       Name = 'Style'
  40.       ID = 1
  41.       ParentID = 0
  42.       UseMetaSymbol = True
  43.       UseMetaToWrapLines = False
  44.       MetaSymbol = '\'
  45.       FIText = 0
  46.       FIIntNum = 1
  47.       FIFloatNum = 2
  48.       FIHexNum = 3
  49.       FISymbol = 9
  50.       UseSymbols = True
  51.       UseComments = True
  52.       UseMultiLineComments = True
  53.       UseStrings = True
  54.       UseSingleLineStrings = True
  55.       UseNumbers = True
  56.       UsePrefixedNumbers = True
  57.       UseSuffixedNumbers = True
  58.       UseMultipleNumSuffixes = False
  59.       UseKeywords = True
  60.       BlockDelimiters = <
  61.         item
  62.           LeftDelimiter = '{'
  63.           RightDelimiter = '}'
  64.           DelimitersArePartOfBlock = True
  65.         end>
  66.       MultiLineCommentDelimiters = <
  67.         item
  68.           FontID = 4
  69.           LeftDelimiter = '/*'
  70.           RightDelimiter = '*/'
  71.         end
  72.         item
  73.           FontID = 13
  74.           LeftDelimiter = '<!--'
  75.           RightDelimiter = '-->'
  76.         end>
  77.       SingleLineStringDelimiters = <
  78.         item
  79.           FontID = 5
  80.           LeftDelimiter = '"'
  81.           RightDelimiter = '"'
  82.         end
  83.         item
  84.           FontID = 6
  85.           LeftDelimiter = #39
  86.           RightDelimiter = #39
  87.         end>
  88.       NumPrefixes = <
  89.         item
  90.           LeftDelimiter = '#'
  91.         end>
  92.       NumSuffixes = <
  93.         item
  94.           LeftDelimiter = '%'
  95.         end
  96.         item
  97.           LeftDelimiter = 'em'
  98.         end
  99.         item
  100.           LeftDelimiter = 'ex'
  101.         end
  102.         item
  103.           LeftDelimiter = 'px'
  104.         end
  105.         item
  106.           LeftDelimiter = 'in'
  107.         end
  108.         item
  109.           LeftDelimiter = 'cm'
  110.         end
  111.         item
  112.           LeftDelimiter = 'mm'
  113.         end
  114.         item
  115.           LeftDelimiter = 'pt'
  116.         end
  117.         item
  118.           LeftDelimiter = 'pc'
  119.         end
  120.         item
  121.           LeftDelimiter = 'deg'
  122.         end
  123.         item
  124.           LeftDelimiter = 'grad'
  125.         end
  126.         item
  127.           LeftDelimiter = 'rad'
  128.         end
  129.         item
  130.           LeftDelimiter = 'ms'
  131.         end
  132.         item
  133.           LeftDelimiter = 's'
  134.         end
  135.         item
  136.           LeftDelimiter = 'Hz'
  137.         end
  138.         item
  139.           LeftDelimiter = 'kHz'
  140.         end
  141.         item
  142.           LeftDelimiter = 'p'
  143.         end>
  144.       KeywordSets = <
  145.         item
  146.           FontID = 7
  147.           Name = 'properties'
  148.           Keywords = 
  149.             'align,attachment,auto,background,background-attachment,backgroun' +
  150.             'd-color,background-image,background-position,background-repeat,b' +
  151.             'order,border-bottom,border-bottom-color,border-bottom-style,bord' +
  152.             'er-bottom-width,border-collapse,border-color,border-left,border-' +
  153.             'left-color,border-left-style,border-left-width,border-right,bord' +
  154.             'er-right-color,border-right-style,border-right-width,border-spac' +
  155.             'ing,border-style,border-top,border-top-color,border-top-style,bo' +
  156.             'rder-top-width,border-width,bottom,caption-side,clear,clip,color' +
  157.             ',content,counter-increment,counter-reset,cursor,direction,displa' +
  158.             'y,empty-cells,family,float,font,font-family,font-size,font-size-' +
  159.             'adjust,font-strecht,font-style,font-variant,font-weight,height,i' +
  160.             'mage,indent,left,letter,letter-spacing,line,line-height,list,lis' +
  161.             't-style,list-style-image,list-style-position,list-style-type,mar' +
  162.             'gin,margin-bottom,margin-left,margin-right,margin-top,marker-off' +
  163.             'set,max-height,max-width,min-height,min-width,outline,outline-co' +
  164.             'lor,outline-style,outline-width,overflow,padding,padding-bottom,' +
  165.             'padding-left,padding-right,padding-top,position,quotes,repeat,ri' +
  166.             'ght,size,space,spacing,style,table-layout,text,text-align,text-d' +
  167.             'ecoration,text-indent,text-shadow,text-transform,top,transform,t' +
  168.             'ype,unicode-bidi,variant,vertical-align,visibility,weight,white-' +
  169.             'space,width,word-spacing,z-index'
  170.         end>
  171.       OtherIdentChars = '\-0-9A-Z_a-z'
  172.     end>
  173.   P.FontTable = <
  174.     item
  175.       FontID = 0
  176.       GlobalAttrID = 'Whitespace'
  177.       Font.Charset = DEFAULT_CHARSET
  178.       Font.Color = clBlack
  179.       Font.Height = -13
  180.       Font.Name = 'Courier New'
  181.       Font.Style = []
  182.     end
  183.     item
  184.       FontID = 1
  185.       GlobalAttrID = 'Integer'
  186.       Font.Charset = DEFAULT_CHARSET
  187.       Font.Color = clGreen
  188.       Font.Height = -13
  189.       Font.Name = 'Courier New'
  190.       Font.Style = []
  191.     end
  192.     item
  193.       FontID = 2
  194.       GlobalAttrID = 'Float'
  195.       Font.Charset = DEFAULT_CHARSET
  196.       Font.Color = clGreen
  197.       Font.Height = -13
  198.       Font.Name = 'Courier New'
  199.       Font.Style = []
  200.     end
  201.     item
  202.       FontID = 3
  203.       GlobalAttrID = 'Integer'
  204.       Font.Charset = DEFAULT_CHARSET
  205.       Font.Color = clGreen
  206.       Font.Height = -13
  207.       Font.Name = 'Courier New'
  208.       Font.Style = []
  209.     end
  210.     item
  211.       FontID = 4
  212.       GlobalAttrID = 'Comment'
  213.       Font.Charset = DEFAULT_CHARSET
  214.       Font.Color = clGray
  215.       Font.Height = -13
  216.       Font.Name = 'Courier New'
  217.       Font.Style = [fsItalic]
  218.     end
  219.     item
  220.       FontID = 5
  221.       GlobalAttrID = 'String'
  222.       Font.Charset = DEFAULT_CHARSET
  223.       Font.Color = clMaroon
  224.       Font.Height = -13
  225.       Font.Name = 'Courier New'
  226.       Font.Style = []
  227.     end
  228.     item
  229.       FontID = 6
  230.       GlobalAttrID = 'String'
  231.       Font.Charset = DEFAULT_CHARSET
  232.       Font.Color = clMaroon
  233.       Font.Height = -13
  234.       Font.Name = 'Courier New'
  235.       Font.Style = []
  236.     end
  237.     item
  238.       FontID = 7
  239.       GlobalAttrID = 'Reserved words'
  240.       Font.Charset = DEFAULT_CHARSET
  241.       Font.Color = clBlue
  242.       Font.Height = -13
  243.       Font.Name = 'Courier New'
  244.       Font.Style = []
  245.     end
  246.     item
  247.       FontID = 16
  248.       GlobalAttrID = 'Emphasis'
  249.       Font.Charset = DEFAULT_CHARSET
  250.       Font.Color = clBlack
  251.       Font.Height = -13
  252.       Font.Name = 'Courier New'
  253.       Font.Style = [fsBold]
  254.     end
  255.     item
  256.       FontID = 17
  257.       GlobalAttrID = 'Comment'
  258.       Font.Charset = DEFAULT_CHARSET
  259.       Font.Color = clGray
  260.       Font.Height = -13
  261.       Font.Name = 'Courier New'
  262.       Font.Style = [fsItalic]
  263.     end
  264.     item
  265.       FontID = 10
  266.       GlobalAttrID = 'String'
  267.       Font.Charset = DEFAULT_CHARSET
  268.       Font.Color = clMaroon
  269.       Font.Height = -13
  270.       Font.Name = 'Courier New'
  271.       Font.Style = []
  272.     end
  273.     item
  274.       FontID = 11
  275.       GlobalAttrID = 'Comment'
  276.       Font.Charset = DEFAULT_CHARSET
  277.       Font.Color = clGray
  278.       Font.Height = -13
  279.       Font.Name = 'Courier New'
  280.       Font.Style = [fsItalic]
  281.     end
  282.     item
  283.       FontID = 13
  284.       GlobalAttrID = 'Comment'
  285.       Font.Charset = DEFAULT_CHARSET
  286.       Font.Color = clGray
  287.       Font.Height = -13
  288.       Font.Name = 'Courier New'
  289.       Font.Style = [fsItalic]
  290.     end
  291.     item
  292.       FontID = 8
  293.       GlobalAttrID = 'Emphasis'
  294.       Font.Charset = DEFAULT_CHARSET
  295.       Font.Color = clBlack
  296.       Font.Height = -13
  297.       Font.Name = 'Courier New'
  298.       Font.Style = [fsBold]
  299.     end
  300.     item
  301.       FontID = 9
  302.       GlobalAttrID = 'Delimiters'
  303.       BlockID = 1
  304.       Font.Charset = DEFAULT_CHARSET
  305.       Font.Color = clBlack
  306.       Font.Height = -13
  307.       Font.Name = 'Courier New'
  308.       Font.Style = []
  309.     end>
  310.   P.SyntaxVersion = 3
  311. end
  312.